Pronamic\WordPress\Pay\Extensions\RestrictContentPro\Extension B

Total Complexity 81
Dependencies 29
Dependents 0
Total lines 938
Lines of code 494
Logical lines of code 221
Comment lines 306
Methods 25
Properties 1

Methods 25

Method Rating Maintainability Complexity Lines of code
payment_status_update()
B
40 17 61
rcp_transition_membership_status()
A
39 11 73
new_payment()
A
43 6 48
rcp_membership_can_cancel()
S
57 6 19
are_upgrades_executable()
S
57 4 17
get_gateways()
S
50 3 29
payment_redirect_url()
S
61 4 13
update_payment()
S
55 3 21
get_rcp_membership_from_payment()
S
59 3 16
plugins_loaded()
S
54 2 20
payment_source_url()
S
60 2 15
subscription_source_url()
S
60 2 15
rcp_edit_membership_after()
S
54 1 24
rcp_edit_payment_after()
S
54 1 24
subscription_source_text()
S
57 1 17
payment_source_text()
S
57 1 17
__construct()
S
59 1 15
rcp_membership_payment_profile_cancelled()
S
69 2 7
subscription_source_description()
S
67 2 8
payment_source_description()
S
67 2 8
payments_settings()
S
70 2 6
next_payment_delivery_date()
S
67 2 8
setup()
S
67 1 7
register_pronamic_gateways()
S
79 1 3
admin_init_upgrades_executable()
S
81 1 3